@extends('http.app')

@section('content')
    <div class="wenzhang grayline">
        @include('http.partials.sitemap')
        <div class="contentbox">
            <h1 class="newstitle">
                {{$information['title']}}
            </h1>
            <div class="clear14"></div>
            <div class="newsinfo">
                发布日期：{{$information['created_at']}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                作者：{{$information['username']}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                @if($information['from'])
                    来源：{{$information['from']}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                @endif
                阅读：{{$information['read_count']}} 次&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                字体：[<a href="javascript:(0)" class="j-fontBig">大</a>]&nbsp;[<a href="javascript:(0)" class="j-fontNormal">中</a>]&nbsp;[<a href="javascript:(0)" class="j-fontSmall">小</a>]
            </div>
            <div id="zoom" class="newscontnet minh500 j-fontContent">
                {!! $information['content'] !!}
            </div>

            <div class="clear"></div>
        </div>

        <div class="contentbox">
            <div>
                <div class="fr close01">
                    <a href="javascript:printpage()" class="printico">打印内容</a>
                    <a href="javascript:window.print()" class="printico">打印本页</a>
                    <a title="关闭" href="javascript:window.opener=null;window.close();" class="closeico">关闭</a>

                    <script>
                        function printpage(){
                            var headstr = "<html><head><title></title></head><body>";
                            var footstr = "</body>";
                            var newstr = $('.contentbox').html();
                            var oldstr = document.body.innerHTML;
                            document.body.innerHTML = headstr + newstr +footstr;
                            window.print();
                            document.body.innerHTML = oldstr;
                            return false;
                        }
                    </script>
                </div>
                <div class="shares fl">
                    <span>分享到：</span>
                    <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_renren" data-cmd="renren"></a><a href="#" class="bds_weixin" data-cmd="weixin"></a></div>
                    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
                </div>
            </div>

            <div class="clear"></div>
        </div>


    </div>
    <div class="clear20"></div>
@endsection